﻿using System;
using System.Text.RegularExpressions;

namespace NetTopologySuite.Utilities
{
	internal static class StringEx
	{
		public static bool IsNullOrWhitespaceNTS(string s)
		{
			return string.IsNullOrEmpty(s) || Regex.IsMatch(s, "^[\\s]+$");
		}
	}
}
